package com.lin.enums;

/**
 * socket主题订阅名
 */
public enum SocketTopic {
    PLANE_DATA("planeData", "张浩发送数据的订阅连接"),
    PLANE("plane", "前端获取飞机信息（包括追踪航迹）"),
    TRACE_PLAYBACK("trace_playback", "航迹回放"),
    ;

    private final String topicName;
    private final String topicDesc;

    SocketTopic(String topicName, String topicDesc) {
        this.topicName = topicName;
        this.topicDesc = topicDesc;
    }

    public String getTopicName() {
        return topicName;
    }

    public String getTopicDesc() {
        return topicDesc;
    }
}
